package com.lbb.pojo;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

public class Configuration {
    private DataSource dataSource;
    //Key(statementid:namespqce.id)
    private Map<String,MappedStatement> mappedStatementHashMap = new HashMap<String,MappedStatement>();

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, MappedStatement> getMappedStatementHashMap() {
        return mappedStatementHashMap;
    }

    public void setMappedStatementHashMap(Map<String, MappedStatement> mappedStatementHashMap) {
        this.mappedStatementHashMap = mappedStatementHashMap;
    }

    @Override
    public String toString() {
        return "Configuration{" +
                "dataSource=" + dataSource +
                ", mappedStatementHashMap=" + mappedStatementHashMap +
                '}';
    }
}
